package com.xueyi.system.train.domain.dto;

import com.baomidou.mybatisplus.annotation.TableName;
import com.xueyi.system.train.domain.po.BaseTrainPo;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 培训管理 数据传输对象
 *
 * @author xueyi
 */
public class BaseTrainDto extends BaseTrainPo {

    private static final long serialVersionUID = 1L;

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("trainCode", getTrainCode())
            .append("trainName", getTrainName())
            .append("deptId", getDeptId())
            .append("deptName", getDeptName())
            .append("trainTime", getTrainTime())
            .append("trainDeptId", getTrainDeptId())
            .append("trainDept", getTrainDept())
            .append("trainAddress", getTrainAddress())
            .append("trainTeach", getTrainTeach())
            .append("trainers", getTrainers())
            .append("trainContent", getTrainContent())
            .append("trainResult", getTrainResult())
            .append("appendix", getAppendix())
            .append("remark", getRemark())
            .append("createBy", getCreateBy())
            .append("createName", getCreateName())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateName", getUpdateName())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
